
<%@ page import="java.util.Calendar"%>
<%@ page import="java.text.SimpleDateFormat"%>
<%@ page import="java.lang.String"%>
<%
	SimpleDateFormat formatador = new SimpleDateFormat("dd/MM/yyyy");
	Calendar data = Calendar.getInstance();
	//cria a string 
	String novaData = formatador.format(data.getTime());
	formatador = new SimpleDateFormat("hh:mm");
	String hora = formatador.format(data.getTime());
%>
<div id='divlogin'>
<form name ="formlogin" id="formlogin">
	<input type="hidden" name="action" value="MakeLogin" />
	
	<label for="idlogin">Login:</label>
	<input type="text" name="login" id="idlogin" /> <br />
	
	<label for="idsenha">Senha</label>
	<input type="password" name="senha" id="idsenha" /> <br />
		
	<input type="hidden" name="data" id="iddata" value="<%=novaData%>" />
	<span>Data: <%=novaData%></span>
	
	<input type="hidden" name="horario" id="idhora" value="<%=hora%>" /> 
	<span>Hora: <%=hora%></span>
	<br />
	<input type="button" value="Enviar" onclick="return enviaFormAjax('privado/logar.jsp',this.form,'report');" /> 
	<input type="reset" value="Limpar" />
</form>
	<span id="report" > </span>
</div>